package com.sand.service;

import com.sand.entity.QuestionEntity;
import com.sand.entity.QuestiondetailsEntity;
import com.sand.entity.TUserEntity;
import com.sand.util.PageModel;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IQuestionService {
    Map<String,Object> queryQuestionById(int id);
    List<HashMap<String, Object>> queryQuestionByCommunity(int id);
    PageModel<HashMap<String, Object>> queryQuestionLimit(int limit, int page, String condition);

    boolean addQuestion(String data);
    boolean delQuestion(String data);

    boolean addQuestionDetails(String data);
    boolean delQuestionDetails(String data);
    List<QuestiondetailsEntity> SelectQuestionId(int i);


}
